﻿using System;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Data;
using TrafficTech;

namespace WebpartSample.GridInIMG
{
    public partial class GridInIMGUserControl : UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            DataTable dt = CommonMethods.CreateDataColumns("Test");
            for (int i = 0; i < 5; i++)
            {
                dt.Rows.Add(Guid.NewGuid());    
            }
            GridView1.DataSource = dt;
            GridView1.DataBind();

        }
    }
}
